
libmodbusPATH = $${PWD}

INCLUDEPATH += $${libmodbusPATH}/include

win32 {

CONFIG(debug, debug|release) {#debug
LIBS += $${libmodbusPATH}/lib/windows/x64.VS2019(vc142)/Debug/modbus.lib
LIBS += -L$${libmodbusPATH}/lib/windows/x64.VS2019(vc142)/Debug/
}else{#release
LIBS += $${libmodbusPATH}/lib/windows/x64.VS2019(vc142)/Release/modbus.lib
LIBS += -L$${libmodbusPATH}/lib/windows/x64.VS2019(vc142)/Release/
}
}

unix:!macx: {
LIBS += -L$$PWD/lib/linux/ -lmodbus
}
